package com.yh.modules.data.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yh.modules.data.entity.MachineDailyInfoEntity;
import com.yh.modules.data.entity.MachineErrorInfoEntity;
import com.yh.modules.data.entity.MachinePartCount;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @Author: skh
 * @Date: 2020/3/23 15:08
 * @Description:
 */
public interface MachineDailyInfoDao extends BaseMapper<MachineDailyInfoEntity> {
    List<MachinePartCount> countMachinePartSum(@Param("machineId") Integer machineId, @Param("startTime") String startTime, @Param("endTime") String endTime);
}
